package com.star.service;

import com.star.spring.MyApplicationContext;

public class Test {

    public static void main(String[] args) {

        MyApplicationContext applicationContext = new MyApplicationContext(AppConfig.class);

        UserInterface userService =
                (UserInterface) applicationContext.getBean("userService");

        userService.test();
    }
}
